package com.huidao.dao;

import java.util.List;

import com.huidao.entity.Role;

public interface RoleDao {
	
	public boolean addRole(Role role);
	
	public boolean delRole(Long id);
	
	public boolean updateRole(Role role);
	
	public List<Role> getListPage(int currentPage,int pageSize,String namekey);
	
	public int getTotalCount(String namekey);
	
	public List<Role> getAllList();
	
}
